home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Shareware / Twistpad 1.1 / Setup.exe / Syntax / HTML.sdf < prev    next >
Encoding:
Text File  |  2006-04-29  |  7.8 KB  |  322 lines

  1. ;HTML adicional Syntax highlight Script for Twistpad
  2. ;1998 - 2006 (C) Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=HTML
  6. Extensions=htm;html;stm;stml;htt;hhc;hhk;tpl
  7. Functions=<[Hh][1-6]|(?i)<head|(?i)<body|(?i)<table
  8. ;Spell Everything
  9. Spelling=1 
  10. ;Except when a word is in this Contexts:
  11. SpellingContexts=1;3;4;10;12;13;14;100;101;102;103;104
  12. ;delimiters:
  13. delimiters=?%+&*=<>|!~^,.:;(){}#*"][\'/
  14. SnippetFile=HTML Tags.tsf|HtmlChars.tsf|JavaScript.tsf
  15.  
  16. ;make sure html comment is before the tag definition
  17. [ssHTMLComment]
  18. Type=StartStop
  19. Context=2
  20. Priority=10
  21. Scope=0
  22. WholeWordOnly=0
  23. First=<!--
  24. Last=-->
  25. Background=Default
  26. Foreground=C0C0C0
  27. Italic=1
  28. Outline=1
  29.  
  30. [ssScripts]
  31. Type=startstop
  32. Context=4
  33. Priority=8
  34. Scope=1
  35. first=SCRIPT
  36. last=/SCRIPT
  37. Background=default
  38. Foreground=default
  39. WholeWordOnly=1
  40. Outline=1
  41.  
  42. [ssStyle]
  43. Type=startstop
  44. Context=12
  45. Priority=9
  46. Scope=0
  47. WholeWordOnly=0
  48. first=<STYLE
  49. last=</STYLE>
  50. Background=Default
  51. Foreground=800000
  52. Outline=1
  53.  
  54. [ssTag]
  55. Type=StartStop
  56. Context=1
  57. Priority=7
  58. Scope=0
  59. WholeWordOnly=0
  60. First=<
  61. Last=>
  62. Background=Default
  63. Foreground=333399
  64.  
  65. [ssHTMLString]
  66. Type=StartStop
  67. Context=3
  68. Priority=19
  69. Scope=1
  70. WholeWordOnly=0
  71. First="
  72. Last="
  73. Background=Default
  74. Foreground=0000FF
  75.  
  76. [ssScriptsComment]
  77. Type=startstop
  78. Context=8
  79. Priority=9
  80. Scope=4
  81. WholeWordOnly=0
  82. first=//
  83. last=
  84. Background=default
  85. Foreground=008000
  86.  
  87. [ssScriptsString]
  88. Type=startstop
  89. Context=9
  90. Priority=19
  91. Scope=4
  92. WholeWordOnly=0
  93. first="
  94. last="
  95. Background=default
  96. Foreground=408080
  97.  
  98. [ssScriptsString2]
  99. Type=startstop
  100. Context=10
  101. Priority=19
  102. Scope=4
  103. WholeWordOnly=0
  104. first='
  105. last='
  106. Background=default
  107. Foreground=408080
  108.  
  109. [ssScriptsMultilinecomment]
  110. Type=startstop
  111. Context=11
  112. Priority=9
  113. Scope=4
  114. WholeWordOnly=0
  115. first=/*
  116. last=*/
  117. Background=default
  118. Foreground=008000
  119. Outline=1
  120.  
  121. [ssScriptsBrackets]
  122. Type=startstop
  123. Context=4
  124. Priority=8
  125. Scope=4
  126. WholeWordOnly=0
  127. first={
  128. last=}
  129. Background=default
  130. Foreground=default
  131. Outline=1
  132. smart=1
  133.  
  134. [ssStyleBrack]
  135. Type=startstop
  136. Context=13
  137. Priority=9
  138. Scope=12
  139. WholeWordOnly=0
  140. first={
  141. last=}
  142. Background=Default
  143. Foreground=0000FF
  144. Outline=1
  145. smart=0
  146.  
  147. [ssStylesMultilinecomment]
  148. Type=startstop
  149. Context=14
  150. Priority=9
  151. Scope=12
  152. WholeWordOnly=0
  153. first=/*
  154. last=*/
  155. Background=Default
  156. Foreground=008000
  157. Outline=1
  158.  
  159. [kTagNames]
  160. Type=keyword
  161. Context=100
  162. Scope=1
  163. Priority=7
  164. WholeWordOnly=1
  165. Keyword1=!DOCTYPE;A;ABBR;ACRONYM;ADDRESS;APPLET;AREA;B;BASE;BASEFONT;BDO;BGSOUND;BIG;BLINK;BLOCKQUOTE;BODY;BR;BUTTON;CAPTION;
  166. Keyword2=CENTER;CITE;CODE;COL;COLGROUP;DD;DEL;DFN;DIR;DIV;DL;DT;EM;EMBED;FIELDSET;FONT;FORM;FRAME;FRAMESET;H1;H2;H3;H4;H5;H6;HEAD
  167. Keyword3=HR;HTML;I;IFRAME;ILAYER;IMG;INPUT;INS;ISINDEX;KBD;KEYGEN;LABEL;LAYER;LEGEND;LI;LINK;LISTING;MAP;MENU;META;MULTICOL;NOBR
  168. Keyword4=NOEMBED;NOFRAMES;NOLAYER;NOSCRIPT;OBJECT;OL;OPTGROUP;OPTION;P;PARAM;PLAINTEXT;PRE;Q;S;SAMP;SCRIPT;SELECT;SERVER;SMALL;
  169. Keyword5=SOUND;SPACER;SPAN;STRIKE;STRONG;STYLE;SUB;SUP;TBODY;TEXTAREA;TITLE;TT;U;UL;VAR;WBR;XMP;TABLE
  170. Keyword6=TD;TR
  171. Keyword7=
  172. Keyword8=
  173. Keyword9=
  174. Keyword10=
  175. Keyword11=
  176. Keyword12=
  177. Keyword13=
  178. Keyword14=
  179. Keyword15=
  180. Keyword16=
  181. Background=default
  182. Foreground=800000
  183. bold=0
  184.  
  185. [kTagAttributes]
  186. Type=keyword
  187. Context=101
  188. Scope=1
  189. Priority=6
  190. WholeWordOnly=1
  191. Keyword1=TFOOT;TH;THEAD;ACCESSKEY;ACTION;ALIGN;ALINK;ALT;BACKGROUND;BALANCE;BEHAVIOR;BGCOLOR;BGPROPERTIES;BORDER;BORDERCOLOR
  192. Keyword2=BORDERCOLORDARK;ORDERCOLORLIGHT;BOTTOMMARGIN;CELLPADDING;CELLSPACING;CHECKED;CLASS;CLASSID;CLEAR;CODE;CODEBASE;CODETYPE
  193. Keyword3=COLOR;COLS;COLSPAN;COMPACT;CONTENT;CONTROLS;COORDS;DATA;DATAFLD;DATAFORMATAS;DATASRC;DIRECTION;DISABLED;DYNSRC;ENCTYPE
  194. Keyword4=EVENT;FACE;FOR;FRAME;FRAMEBORDER;FRAMESPACING;HEIGHT;HIDDEN;HREF;HSPACE;HTTP-EQUIV;ID;ISMAP;LANG;LANGUAGE;LEFTMARGIN
  195. Keyword5=LINK;LOOP;LOWSRC;MARGINHEIGHT;MARGINWIDTH;MAXLENGTH;MAYSCRIPT;METHOD;METHODS;MULTIPLE;NAME;NOHREF;NORESIZE;NOSHADE;NOWRAP
  196. Keyword6=PALETTE;PLUGINSPAGE;PUBLIC;READONLY;REL;REV;RIGHTMARGIN;ROWS;ROWSPAN;RULES;SCROLL;SCROLLAMOUNT;SCROLLDELAY;SCROLLING;SELECTED
  197. Keyword7=SHAPE;SIZE;SPAN;SRC;START;STYLE;TABINDEX;TARGET;TEXT;TITLE;TOPMARGIN;TRUESPEED;TYPE;URL;URN;USEMAP;VALIGN;VALUE;VLINK;
  198. Keyword8=VOLUME;VRML;VSPACE;WIDTH;WRAP
  199. Keyword9=
  200. Keyword10=
  201. Keyword11=
  202. Keyword12=
  203. Keyword13=
  204. Keyword14=
  205. Keyword15=
  206. Keyword16=
  207. Background=default
  208. Foreground=FF0000
  209.  
  210. [kSimbols]
  211. Type=keyword
  212. Context=102
  213. Scope=0
  214. Priority=6
  215. Keyword1=><Ð&ðÄËÏÖÜäëï ö"üÿ
  216. Keyword2=ÆÂÅÊÎÔÞÛâæåêîôßþû
  217. Keyword3=ÁÀÃÇÉÈÍÌÑÓÒØÕÚÙÝáàãçéèíìñóòøõúùý
  218. Background=Default
  219. Foreground=808080
  220.  
  221. [kScriptKeywords]
  222. Type=keyword
  223. Context=103
  224. Scope=4
  225. Priority=8
  226. WholeWordOnly=1
  227. Keyword1=And;As;Boolean;ByRef;Byte;ByVal;Call;Case;Class;Const;Currency;Debug;Dim;Do;Double;Each;Else;ElseIf;Empty;End;EndIf
  228. Keyword2=Enum;Eqv;Event;Exit;False;For;Function;Get;GoTo;If;Imp;Implements;In;Integer;Is;Let;Like;Long;Loop;LSet;Me;Mod;New;
  229. Keyword3=Next;Not;Nothing;Null;On;Option;Optional;Or;ParamArray;Preserve;Private;Public;Raise;Event;ReDim;Rem;Resume;RSet;
  230. Keyword4=Select;Set;Shared;Single;Static;Stop;Sub;Then;To;True;Type;TypeOf;Until;Variant;Wend;While;With;Xor
  231. Keyword5=runat;language;var
  232. Keyword6=
  233. Keyword7=
  234. Keyword8=
  235. Keyword9=
  236. Keyword10=
  237. Keyword11=
  238. Keyword12=
  239. Keyword13=
  240. Keyword14=
  241. Keyword15=
  242. Keyword16=
  243. Background=default
  244. Foreground=0000FF
  245.  
  246. [kScriptKeywords2]
  247. Type=keyword
  248. Context=103
  249. Scope=4
  250. Priority=6
  251. WholeWordOnly=1
  252. Keyword1=script
  253. Background=default
  254. Foreground=800000
  255.  
  256. [kStyleKeywords]
  257. Type=keyword
  258. Context=104
  259. Scope=12
  260. Priority=6
  261. WholeWordOnly=1
  262. Keyword1=style
  263. Keyword2=
  264. Keyword3=
  265. Keyword4=
  266. Keyword5=
  267. Keyword6=
  268. Keyword7=
  269. Keyword8=
  270. Keyword9=
  271. Keyword10=
  272. Keyword11=
  273. Keyword12=
  274. Keyword13=
  275. Keyword14=
  276. Keyword15=
  277. Keyword16=
  278. Background=Default
  279. Foreground=800000
  280.  
  281. [kStyleKeywords2]
  282. Type=keyword
  283. Context=104
  284. Scope=12
  285. Priority=6
  286. WholeWordOnly=1
  287. Keyword1=type
  288. Keyword2=
  289. Keyword3=
  290. Keyword4=
  291. Keyword5=
  292. Keyword6=
  293. Keyword7=
  294. Keyword8=
  295. Keyword9=
  296. Keyword10=
  297. Keyword11=
  298. Keyword12=
  299. Keyword13=
  300. Keyword14=
  301. Keyword15=
  302. Keyword16=
  303. Background=Default
  304. Foreground=FF0000
  305.  
  306. [kCSSKeys]
  307. Type=keyword
  308. Context=105
  309. Scope=13
  310. Priority=10
  311. WholeWordOnly=1
  312. Keyword1=background;background-attachment;background-color;background-image;background-position;background-repeat;border;border-bottom;border-bottom-color;
  313. Keyword2=border-bottom-style;border-bottom-width;border-collapse;border-color;border-left;border-left-color;border-left-style;border-left-width;border-right;
  314. Keyword3=border-right-color;border-right-style;border-right-width;border-spacing;border-style;border-top;border-top-color;border-top-style;border-top-width;border-width;
  315. Keyword4=bottom;caption-side;clear;clip;color;content;counter-increment;counter-reset;cursor;direction;display;display;empty-cells;float;font;font-family;font-size;font-size-adjust;
  316. Keyword5=font-stretch;font-style;font-variant;font-weight;height;left;letter-spacing;line-height;list-style;list-style-image;list-style-position;list-style-type;margin;margin-bottom;
  317. Keyword6=margin-left;margin-right;margin-top;marker-offset;max-height;max-width;min-height;min-width;outline;outline-color;outline-style;outline-width;overflow;padding;padding-bottom;
  318. Keyword7=padding-left;padding-right;padding-top;position;quotes;right;table-layout;text-align;text-decoration;text-indent;text-shadow;text-transform;top;unicode-bidi;vertical-align;visibility;white-space;width;word-spacing;z-index;
  319. ;Keyword8=line;height;font;size;family
  320. Background=Default
  321. Foreground=FF0000
  322.